package cn.ilikes.tools.nosql.jpa.clients.handers;

import org.slf4j.Logger;

import cn.ilikes.tools.logs.Loggerfactory;
import cn.ilikes.tools.nosql.jpa.JPASQLPersistenUnitEnv;
import cn.ilikes.tools.nosql.jpa.clients.dataSources.AbDataSource;

public abstract class AbDataHander extends DataHanderBaseImple implements DataHander {

	private Logger logger = Loggerfactory.instance(AbDataHander.class);

	private AbDataSource<?> dataSource;

	public AbDataHander(AbDataSource<?> dataSource, JPASQLPersistenUnitEnv persistenUnitEnv) {
		super(persistenUnitEnv);
		this.dataSource = dataSource;
	}

	protected AbDataSource<?> getDataSource() {
		return dataSource;
	}

	@Override
	public void flush() {

	}

}